package org.medusa.barrage.util;

import org.springframework.util.StringUtils;

public class FormatUtil {


    public static String formatScript(String contant) {
        if(StringUtils.isEmpty(contant)) {
            return contant;
        }
        contant = contant.replace("<", "&lt;");
        contant = contant.replace(">", "&gt;");
        return contant;
    }
}
